package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 问卷答案对象 questionnaire_answers
 * 
 * @author yang
 * @date 2023-11-28
 */
public class QuestionnaireAnswers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 答案id */
    private Long solutionId;

    /** 题目id */
    @Excel(name = "题目id")
    private Long topicId;

    /** 答案名称 */
    @Excel(name = "答案名称")
    private String solutionName;

    /** 分值 */
    @Excel(name = "分值")
    private Long score;

    public void setSolutionId(Long solutionId) 
    {
        this.solutionId = solutionId;
    }

    public Long getSolutionId() 
    {
        return solutionId;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setSolutionName(String solutionName) 
    {
        this.solutionName = solutionName;
    }

    public String getSolutionName() 
    {
        return solutionName;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("solutionId", getSolutionId())
            .append("topicId", getTopicId())
            .append("solutionName", getSolutionName())
            .append("score", getScore())
            .toString();
    }
}
